{extend name="base" /}
{block name="body"}
<div class="layui-card">
    <div class="layui-card-body">
        <blockquote class="layui-elem-quote">
          推送范围公众号 <span class="text-danger">关注用户</span> 根据选择条件推送！
        </blockquote>
        <form action="{:request()->url()}" class="layui-form" method="post">
            <div class="layui-form-item">
                <label class="layui-form-label">范围</label>
                <div class="layui-input-block">
                    <input type="radio" name="gender" value="-1"  title="全部" checked>
                    <input type="radio" name="gender" value="1"  title="男" {if condition="isset($data) and $data.gender eq 1"}checked{/if}>
                    <input type="radio" name="gender" value="2"  title="女" {if condition="isset($data) and $data.gender eq 2"}checked{/if}>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">推送消息</label>
                <div class="layui-input-inline">
                    <textarea name="content" placeholder="请输入推送内容" lay-verify="require" class="layui-textarea"></textarea>
                </div>
                <div class="layui-form-mid layui-word-aux">长度为100字以内</div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-filter="i" lay-submit="">推送</button>
                    <button class="layui-btn layui-btn-primary" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
{/block}
